''' Mission 7 -- Billboard Final -- with added code This is a sample solution. The function names can be anything descriptive, the the button for the kill switch can be anything other than L or R. ''' from codex import * my_list = ["Ahoy", GREEN, pics.HAPPY, "Happy", pics.SAD, RED, pics.SURPRISED, (77, 158, 100), pics.ASLEEP, BLUE, "Smile!", pics.HEART, (203, 182, 6), pics.TIARA, pics.TSHIRT ] choice = 0 LAST_INDEX = len(my_list) - 1 # ==== Functions def display_item(): my_image = my_list[choice] if type(my_image) == tuple: display.fill(my_image) else: display.show(my_image) def change_choice(): global choice if buttons.was_pressed(BTN_R): choice = choice + 1 if choice > LAST_INDEX: choice = 0 if buttons.was_pressed(BTN_L): choice = choice - 1 if choice < 0: choice = LAST_INDEX # ==== Main Program while True: display_item() change_choice() if buttons.was_pressed(BTN_A): break # --- end display.fill(BLACK)